Avoid a few state changes
authorTimm Bäder <mail@baedert.org>
Tue, 17 Dec 2019 16:15:17 +0000 (17:15 +0100)
committerTimm Bäder <mail@baedert.org>
Tue, 7 Jan 2020 16:27:16 +0000 (17:27 +0100)
commit6a9bc5daef85d0f9153e6cd0355a7fd2c733a232
tree66e4eb69dbcee7b7f38886c58308d0d597dc7d21
parentb8aa51d5220e44b38c507852f7a415998611c37e
Avoid a few state changes

We can't optimize the save/restore calls away in the snapshot code, so
do it from the caller side.
gtk/gtkimage.c
gtk/gtkwidget.c